// *Author：jxx
// *Contact：283591387@qq.com
// *代码由框架生成,任何更改都可能导致被代码生成器覆盖
export default function(){
    const table = {
        key: 'Id',
        footer: "Foots",
        cnName: '工艺配方明细',
        name: 'formuladetails',
        newTabEdit: false,
        url: "/formuladetails/",
        sortName: "Id"
    };
    const tableName = table.name;
    const tableCNName = table.cnName;
    const newTabEdit = false;
    const key = table.key;
    const editFormFields = {};
    const editFormOptions = [];
    const searchFormFields = {};
    const searchFormOptions = [];
    const columns = [{field:'Id',title:'Id',type:'int',width:110,hidden:true,readonly:true,require:true,align:'left'},
                       {field:'FormulaName',title:'配方名称',type:'string',width:120,require:true,align:'left'},
                       {field:'FormulaSetId',title:'关联配方ID',type:'int',width:110,hidden:true,readonly:true,require:true,align:'left'},
                       {field:'equipment_id',title:'设备主键',type:'string',width:120,readonly:true,require:true,align:'left'},
                       {field:'Increase_Tag',title:'增长标识',type:'int',width:110,require:true,align:'left'},
                       {field:'start_Value',title:'开始值',type:'decimal',width:110,require:true,align:'left'},
                       {field:'speed_Value',title:'结束值',type:'decimal',width:110,require:true,align:'left'},
                       {field:'target_value',title:'目标值',type:'decimal',width:110,require:true,align:'left'},
                       {field:'tolerance',title:'目标偏差',type:'decimal',width:110,require:true,align:'left'},
                       {field:'IsManyFormula',title:'是否是多个参数',type:'bool',width:110,require:true,align:'left'},
                       {field:'last_updated',title:'更新时间',type:'datetime',width:110,align:'left'}];
    const detail ={columns:[]};
    const details = [];

    return {
        table,
        key,
        tableName,
        tableCNName,
        newTabEdit,
        editFormFields,
        editFormOptions,
        searchFormFields,
        searchFormOptions,
        columns,
        detail,
        details
    };
}